//
//  RadioHomeCell.m
//  EPA
//
//  Created by lanou3g on 16/4/28.
//  Copyright © 2016年 zlw. All rights reserved.
//

#import "RadioHomeCell.h"

@interface RadioHomeCell ()
@property (weak, nonatomic) IBOutlet UIImageView *CoverimgLable;

@property (weak, nonatomic) IBOutlet UILabel *TitleLable;
@property (weak, nonatomic) IBOutlet UILabel *CountLable;
@property (weak, nonatomic) IBOutlet UILabel *Uname;
@property (weak, nonatomic) IBOutlet UIImageView *iocnImage;
@property (weak, nonatomic) IBOutlet UILabel *descLable;
@end

@implementation RadioHomeCell

-(void)layoutSubviews
{
    [self.CoverimgLable sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.TitleLable.text = self.model.title;
    self.CountLable.text = [NSString stringWithFormat:@"评论数目:%@",self.model.count];
    self.Uname.text = self.model.uname;
    self.descLable.text = self.model.desc;
    [self.iocnImage sd_setImageWithURL:[NSURL URLWithString:self.model.icon]];
    self.iocnImage.layer.cornerRadius = 25;
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
